package com.doctor.bean;

import java.io.Serializable;

public class PatientFileBean implements Serializable{

	/**
	 * 患者档案
	 */
	
	private static final long serialVersionUID = 1L;
	
	/**档案id*/
	private int id;
	/**姓名*/
	private String name;
	/**性别*/
	private String sex;
	/**出生日期*/
	private String birthDay;
	/**服务截止*/
	private String endDay;
	/**地址*/
	private String address;
	/**电话*/
	private String phone;
	/**手机*/
	private String mobile;
	/**邮箱*/
	private String email;
	/**体质*/
	private String body;
	/**血型*/
	private String bloodType;
	/**家族史*/
	private String familyHistory;
	/**个人史*/
	private String personalHistory;
	/**疾病史*/
	private String diseaseHistory;
	
	
	/**婚否*/
	private String marriage;
	/**联系人*/
	private String contacts;
	/**联系人电话*/
	private String contactsMobile;
	/**药物过敏史*/
	private String allergy;
	
	
	
	private int cid;  //服务端id,2016/03/17添加
	
	public PatientFileBean(){
		super();
	}

	public PatientFileBean(int id, String name, String sex, String birthDay,
			String endDay, String address, String phone, String mobile,
			String email, String body, String bloodType, String familyHistory,
			String personalHistory, String diseaseHistory) {
		super();
		this.id = id;
		this.name = name;
		this.sex = sex;
		this.birthDay = birthDay;
		this.endDay = endDay;
		this.address = address;
		this.phone = phone;
		this.mobile = mobile;
		this.email = email;
		this.body = body;
		this.bloodType = bloodType;
		this.familyHistory = familyHistory;
		this.personalHistory = personalHistory;
		this.diseaseHistory = diseaseHistory;
	}
	
	public PatientFileBean(int id, String name, String sex, String birthDay,
			String endDay, String address, String phone, String mobile,
			String email, String body, String bloodType, String familyHistory,
			String personalHistory, String diseaseHistory, int cid) {
		super();
		this.id = id;
		this.name = name;
		this.sex = sex;
		this.birthDay = birthDay;
		this.endDay = endDay;
		this.address = address;
		this.phone = phone;
		this.mobile = mobile;
		this.email = email;
		this.body = body;
		this.bloodType = bloodType;
		this.familyHistory = familyHistory;
		this.personalHistory = personalHistory;
		this.diseaseHistory = diseaseHistory;
		this.cid = cid;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getBirthDay() {
		return birthDay;
	}

	public void setBirthDay(String birthDay) {
		this.birthDay = birthDay;
	}

	public String getEndDay() {
		return endDay;
	}

	public void setEndDay(String endDay) {
		this.endDay = endDay;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public String getBloodType() {
		return bloodType;
	}

	public void setBloodType(String bloodType) {
		this.bloodType = bloodType;
	}

	public String getFamilyHistory() {
		return familyHistory;
	}

	public void setFamilyHistory(String familyHistory) {
		this.familyHistory = familyHistory;
	}

	public String getPersonalHistory() {
		return personalHistory;
	}

	public void setPersonalHistory(String personalHistory) {
		this.personalHistory = personalHistory;
	}

	public String getDiseaseHistory() {
		return diseaseHistory;
	}

	public void setDiseaseHistory(String diseaseHistory) {
		this.diseaseHistory = diseaseHistory;
	}
	

	public int getCid() {
		return cid;
	}

	public void setCid(int cid) {
		this.cid = cid;
	}
	
	

	public String getMarriage() {
		return marriage;
	}

	public void setMarriage(String marriage) {
		this.marriage = marriage;
	}

	public String getContacts() {
		return contacts;
	}

	public void setContacts(String contacts) {
		this.contacts = contacts;
	}

	public String getContactsMobile() {
		return contactsMobile;
	}

	public void setContactsMobile(String contactsMobile) {
		this.contactsMobile = contactsMobile;
	}

	public String getAllergy() {
		return allergy;
	}

	public void setAllergy(String allergy) {
		this.allergy = allergy;
	}

	@Override
	public String toString() {
		return "PatientFileBean [id=" + id + ", name=" + name + ", sex=" + sex
				+ ", birthDay=" + birthDay + ", endDay=" + endDay
				+ ", address=" + address + ", phone=" + phone + ", mobile="
				+ mobile + ", email=" + email + ", body=" + body
				+ ", bloodType=" + bloodType + ", familyHistory="
				+ familyHistory + ", personalHistory=" + personalHistory
				+ ", diseaseHistory=" + diseaseHistory + ", cid=" + cid + "]";
	}

	
	
	
	
}
